package model;

import java.util.LinkedList;
import java.util.List;

import org.semanticweb.owlapi.model.OWLOntologyCreationException;

import data.GoTData;

public class House {
	
	private String name;
	private String iconLocation;
	private List<Person> members;
	private Person selectedPerson;
	
	public House() {
		members = new LinkedList<Person>();
	}
	
	public House(String name, String iconLocation) {
		this.name = name;
		this.iconLocation = iconLocation;
		
		GoTData data = GoTData.Instance();
		
		this.members = data.getMembers(this.name);
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getIconLocation() {
		return iconLocation;
	}
	
	public void setIconLocation(String iconLocation) {
		this.iconLocation = iconLocation;
	}
	
	public List<Person> getMembers() {
		return members;
	}

	public void setMembers(List<Person> members) {
		this.members = members;
	}

	public Person getSelectedPerson() {
		return selectedPerson;
	}

	public void setSelectedPerson(Person selectedPerson) {
		this.selectedPerson = selectedPerson;
	}
}
